package com.hs.sfzy.service;


import com.github.pagehelper.PageInfo;
import com.hs.sfzy.entity.Publicity;


import java.util.List;
public interface PublicityService {
    int add(Publicity publicity);
    int edit(Publicity publicity);
    int remove(Long id);
    List<Publicity> findAll(Publicity publicity);

    Publicity findById(Long id);
    PageInfo<Publicity> findByPage(Integer pageNum, Integer pageSize, Publicity publicity);
}
